package com.dormitory.manage.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dormitory.manage.pojo.Student;
import com.dormitory.manage.vo.StudentQueryVo;
import com.dormitory.manage.vo.StudentUpdateVo;

import java.util.List;

/**
 * @author Administrator
 * @version 1.0
 * @description  StudentService
 * @date 2023/4/8 0008 9:48
 */
public interface StudentService extends IService<Student> {
    List<String> getDormitoryMember(String dormitoryNo,Integer dormitoryBuildName);

    Page<Student> getStudentPageList(Page<Student> page, StudentQueryVo studentQueryVo);

    boolean addStudent(Student student);

    boolean updateStudent(long studentId, StudentUpdateVo studentUpdateVo);

    boolean deleteStudent(long studentId);
}
